﻿#region Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Engine;
#endregion

namespace Game
{
    class ControlsScreen : MenuScreen
    {
        ContentManager content;

        Texture2D controls;


        public ControlsScreen(PlayerIndex index)
            : base("Controls")
        {         
        }

        public override void LoadContent()
        {
            if (content == null)
                content = new ContentManager(ScreenManager.Game.Services, "Content");

            controls = content.Load <Texture2D>("Textures/Controls");
           
        }

        protected override void OnSelectEntry(int entryIndex, PlayerIndex playerIndex)
        {
            
        }

        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
            SpriteBatch spriteBatch = ScreenManager.SpriteBatch;

            spriteBatch.Begin();

            spriteBatch.Draw(controls, Vector2.Zero, Color.White);

            spriteBatch.End();
        }

    }
}
